package com.example.yunxiappbackend.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@Slf4j
@RequestMapping("/backgroundPage")
public class BackgroundPageController {
    @RequestMapping
    public String toMainPage() {
        return "background";
    }
    @RequestMapping("/user")
    public String backgroundUserManager(){
        return "backgroundPages/userManager";
    }
    @RequestMapping("/data")
    public String backgroundDataManager() {
        return "backgroundPages/dataManager";
    }
    @RequestMapping("/article")
    public String backgroundArticleManager(){
        return "backgroundPages/articleManager";
    }
}
